.banner {
    position: relative; /*makes banner refernce point for absolute chilldren*/
    width: 100%;
    height: 250px;        
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner__text {
    position: absolute;
    top: 50%; /*top left corner in center*/
    left: 50%;
    transform: translate(-50%, -50%); /*centralises text*/
    color: white;
    background: rgba(0, 0, 0, 0.4); 
    padding: 1rem 2rem;
    border-radius: 8px;
}

.banner__text h1 {
    margin: 0;
    font-size: 3rem;
}

.banner__nav{
    position: absolute;
    top: 0%; /*top left corner in center*/
    right: 0%;
    margin: 10px;
    /* background: rgba(0, 0, 0, 0.4); 
    padding: 1rem 2rem;
    border-radius: 8px; */
}

.banner__nav a{
    color: white;
    text-decoration: none;
    padding: 10px;
}

header {
    padding-bottom: 20px; 
}

.column {
  float: left;
  width: 33.33%;
  padding: 5px;
}

figure {
    margin: 0;
    width: 100%;
    height: 100%;
}

img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

figcaption {
    text-align: center;
    margin-top: 10px;
}

figcaption a{
    text-decoration: none;
    color: black;
}